package test06;

import java.util.HashMap;
import java.util.Map; /**
 * 请求数据类
 */
public class RequestData {
    private String input;
    private Map<String, Object> parameters;
    private int priority;

    public RequestData(String input) {
        this.input = input;
        this.parameters = new HashMap<>();
        this.priority = 1;
    }

    public RequestData(String input, int priority) {
        this.input = input;
        this.parameters = new HashMap<>();
        this.priority = priority;
    }

    // Getters and Setters
    public String getInput() { return input; }
    public Map<String, Object> getParameters() { return parameters; }
    public int getPriority() { return priority; }
}
